package dao;

import bean.OrderInfo;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @classname:OrderDao
 * @description:
 * @author: Mr.Z
 * @date: 2021/1/2 10:32
 * @version: 0.1
 * @since:1.8
 */
public interface OrderInfoDao {
    int addOrderInfo(OrderInfo orderInfo);

    //    int addOrderAndDetail(int uid, int[] ids,int[] numbers);
    int addOrderAndDetail(int uid, Map<Integer, Integer> map);


    int updateGoodNumberById(int id ,int number);


    int updateMemberBalanceById(BigDecimal money,int mid);

}
